package reflection;

/**
 * @Author:zimmor
 * @Date: 2021/3/25 14:39
 * @Description
 * @version: 1.0.0
 */

public class Person {
    private String name;
    private String age;
    public String address;

    public Person(String name, String age) {
        this.name = name;
        this.age = age;
    }

    private Person() {

    }
    public String getName() {
        return name;
    }

    private void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
